package com.example.springboot.model.vo;

import com.example.springboot.utils.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @
 *
 * @author zf
 * @since 2021-05-17
 */
@Data
  public class WebsiteResourceVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
      private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * 描述
     */
    private String state;

    /**
     * 网站url
     * */
    private String websiteUrl;

    /**
     * icon
     */
    private String icon;

    /**
     * 排序
     * */
    private Integer sort;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = DateUtil.DEFAULT_TIME, timezone = "GMT+8")
    private Date createTime;

}
